<?php use_helper('Javascript') ?>
<div id="block<?php echo $zd_online->getId()?>">
<?php
if($zd_online->getBlock()==false)
{
echo link_to_remote(image_tag('/images/active.gif','title="Разлогинить"'), array(
    'update' => 'block'.$zd_online->getId(),
    'url'    => 'zdOnlineAdmin/setblock?id='.$zd_online->getId(),
)) ;
}
else
{
	echo image_tag('/images/block.gif','title="Разлогинить"');
}
 ?>
 
 
 

</div>